package com.njtoyo.taxi.admin.service.business.driver;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.mongo.entity.secondary.AdminDeductDriverMoneyLogMongo;
import com.njtoyo.taxi.admin.rest.presenter.business.driver.MoneyDeductingPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.driver.MoneyDeductingCreateWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.driver.MoneyDeductingLogQueryWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.driver.MoneyDeductingQueryWrapper;
import com.taxi.entity.common.RestResult;
import com.njtoyo.taxi.entity.backend.AdminUser;
import org.springframework.data.domain.PageImpl;


public interface DriverMoneyDeductingService {

    RestResult<Page<MoneyDeductingPresenter>> getMoneyDeductingList(AdminUser adminUser, MoneyDeductingQueryWrapper wrapper);

    RestResult<MoneyDeductingPresenter> getMoneyDeducting(Long id);

    RestResult moneyDeducting(AdminUser adminUser, MoneyDeductingCreateWrapper wrapper);

    RestResult<PageImpl<AdminDeductDriverMoneyLogMongo>> moneyDeductingLog(MoneyDeductingLogQueryWrapper wrapper);
}
